import axios from './axios'

export const getTopics = params => axios.get('/topics',{params}) //params会被自动拼写成到topics后面?paramName=
export const postTopics = data => axios.post('/topics',data)
